package com.yst.feign2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Description EnableDiscoveryClient:开启服务发现支持;EnableFeignClients:开启扫描spring cloud feign客户端的功能
 * @Date 2020/3/26 21:22
 * @Param
 * @return
 **/
@EnableFeignClients
@SpringBootApplication
public class Feign2Application {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(Feign2Application.class, args);
    }
}